<?php
namespace app\api\model;

use think\Model;

class OrderGroup extends Base{
    protected $name = 'order_group';
    protected $updateTime = false;

    public function getPayTimeAttr($val){
        if(!$val){
            return '-';
        }

        return date('Y-m-d H:i:s', $val);
    }
}